﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using XcoAppSpaces.Contracts.CcrDispatching;
using Microsoft.Ccr.Core;

namespace test.XcoAppSpaces.Core.Communication.Helpers
{
	class CcrDispatcherServiceMock : ICcrDispatcherService
	{
		public CcrDispatcherServiceMock(DispatcherQueue dpq)
		{
			this.DispatcherQueue = dpq;
			this.InternalDispatcherQueue = dpq;
		}

		#region ICcrDispatcherService Members

		public Microsoft.Ccr.Core.Dispatcher Dispatcher { get; set; }
		public Microsoft.Ccr.Core.DispatcherQueue DispatcherQueue  { get; set; }
		public Microsoft.Ccr.Core.DispatcherQueue InternalDispatcherQueue { get; set; }

		#endregion

		#region IXcoStatefulService Members

		public void Start()
		{
		}

		public int StartPriority
		{
			get { return 1; }
		}

		public void Stop()
		{
			
		}

		#endregion

		#region IXcoService Members

		public void Initialize(global::XcoAppSpaces.Contracts.Service.IXcoServiceRegistry serviceRegistry)
		{
			
		}

		#endregion
	}
}
